package com.scut.campus.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scut.campus.entity.Post;
import com.scut.campus.query.PostQuery;
import com.scut.campus.vo.PostVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PostMapper extends BaseMapper<Post> {

    List<PostVo> queryMainPost(@Param("postQuery") PostQuery postQuery);

}
